{% from "devhub/includes/macros.html" import tip, supported_syntax_link %}
<tr>
  <th>{{ tip(_('End-User License Agreement'),
             _('Please note that a EULA is not '
               'the same as a code license, such as the GPL or MPL. '
               'It is only relevant for listed add-ons.')) }}</th>
  <td>
    {{ policy_form.has_eula }}
    {{ policy_form.has_eula.label_tag() }}
    <div class="eula {{ 'hidden' if not policy_form.initial.has_eula }}">
      {{ policy_form.eula.errors }}
      <label data-for="eula" class="above-the-field">
        {{ policy_form.eula.label }}
      </label>
      {{ policy_form.eula }}
      {{ supported_syntax_link(settings) }}
    </div>
  </td>
</tr>
<tr>
  <th>{{ tip(_('Privacy Policy'),
             _("If your add-on transmits any data from the user's computer, "
               "a privacy policy is required that explains what data is sent "
               "and how it is used. It is only relevant for listed add-ons.")) }}</th>
  <td>
    {{ policy_form.has_priv }}
    {{ policy_form.has_priv.label_tag() }}
    <div class="priv {{ 'hidden' if not policy_form.initial.has_priv }}">
      {{ policy_form.privacy_policy.errors }}
      <label data-for="privacy_policy" class="above-the-field">
        {{ policy_form.privacy_policy.label }}
      </label>
      {{ policy_form.privacy_policy }}
      {{ supported_syntax_link(settings) }}
    </div>
  </td>
</tr>
